<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" isELIgnored="false" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"+ request.getServerName() + ":" + request.getServerPort()+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> 
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<script src="<%=basePath%>resources/js/common/plugin/bootstrap/js/bootstrap-validation.js"></script>


<title>新增/修改车载终端信息</title>

<style type="text/css"> 
.modal-table{width:100%;}
.modal-table tr{line-height:35px;}
.modal-table th{width:20%;text-align:right;padding-right:10px;font-weight: normal;}
.modal-table td{width:30%;}

.date-alarm-ul {
    border-bottom: 1px solid #ccc;
}
 .date-alarm .line,
 .date-alarm .line{
	bottom:0;
	left:0;
	width:100px;
	height:2px;
	background:#e77817;
	transition:all .3s;
	-webkit-transition:all .3s;
	-moz-transition:all .3s;
	-ms-transition:all .3s;
	-o-transition:all .3s;
}
.list {
    width: 100px;
    padding: 5px 0;
    text-align: center;
}
.fl {
    float: left;
}
input{
	padding-left:5px;
}
input:focus{
	border-color:#dedede !important;
}
/* .alertaddup {cursor:pointer; position:absolute; left:180px; top:0;} */
</style> 
<script type="text/javascript">
var vehicleId = '${vehicleId}';
var action = '${action}';
var voname ='${vo.name}';
</script>
</head>
<body>
<form id="vehicleForm">
			<div class="date-alarm pr">
  				<div class="line pa date-alarm" style="left: 0px;"></div>
  				<ul class="clearfix date-alarm-ul">
  					<li class="fl list"><a class="db" href="javascript:;">车载终端信息</a></li>
  				</ul>
       		</div>
			<div id="baseInfoDiv" class="pr" style='padding-top:15px'>
			<table class="modal-table">
<!-- 				<tr style="height: 20px;width:416px;"></tr> -->
				<tr>
				<th>设备型号:</th><td><input class='placeholder' type="text" style="height: 24px;width:208px;" id="name" name="name"  required="required"  placeholder="设备型号" value="${vo.name}" />
				<font style="color:#f00;">*</font></td>
				<th>适用车型:</th><td><input class='placeholder' type="text" style="height: 24px;width:208px;"  id="applyKind"	name="applyKind" required="required"  placeholder="适用车型" value="${vo.applyKind}" />
				<font style="color:#f00;">*</font></td>
				</tr>
<!-- 				<tr style="height: 20px;width:416px;"></tr> -->
				<tr>
				<th>定位模块:</th><td><input class='placeholder' type="text" style="height: 24px;width:208px;" id="locationModule" name="locationModule"   required="required"  placeholder="定位模块" value="${vo.locationModule}"/>
								
				<font style="color:#f00;"><font style="color:#f00;">*</font></td>
				<th>通讯模式:</th><td><input class='placeholder' type="text" style="height: 24px;width:208px;" id="commMode" name="commMode" required="required"  placeholder="通讯模式" value="${vo.commMode}" />
				<font style="color:#f00;">*</font></td>
				</tr>
<!-- 				<tr style="height: 20px;width:416px;"></tr> -->
				<tr>
				<th>厂家名称:</th><td><input class='placeholder' type="text" style="height: 24px;width:208px;" id="venderName"  name="venderName"  required="required"  placeholder="厂家名称" value="${vo.venderName}" />
				<font style="color:#f00;">*</font></td>
				<th>厂家编号:</th><td><input class='placeholder' type="text" style="height: 24px;width:208px;"  id="venderCode"  name="venderCode"  required="required"  placeholder="厂家编号" value="${vo.venderCode}" />
				<font style="color:#f00;">*</font></td>
				</tr>
			</table>
			<input type="hidden" name="id" value="${vo.id}" />
			<div class="TerminalPanel pa">
				<a class="close pa" href="javascript:;" title="关闭"></a>
				<div class="menu_arrow pa"></div>
			</div>
			</div>
		</form>
	
		<script src="<%=basePath%>resources/js/business/base/terminal/addpubterminal.js"></script>
</body>
</html>